package com.dly.hope.annotation;

import org.jetbrains.annotations.Debug;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface SysLog {

    /**
     * 默认失效时间为5分钟
     */
    long expire() default 300;
}
